package com.reggie.service;

import com.reggie.pojo.Category;
import com.reggie.util.PageUtil;

import java.util.List;

public interface CategoryService {
    PageUtil<Category> getCategoryList(Integer page, Integer pageSize);

    Category getCategoryById(Long id);

    boolean delete(Long id);

    boolean edit(Category category);

    boolean add(Category category);

    List<Category> getCategoryByType(Integer type);
}
